<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title><%= h(yield(:title) || "Untitled") %></title>
    <%= stylesheet_link_tag 'common' %>
    <%= stylesheet_link_tag 'login' %>
    <%= yield(:head) %>
  </head>
  <body>
    <div id="login">
      
      
      <%- if show_title? -%>
          <h1><%=h yield(:title) %></h1>
      <%- end -%>
     
      <%= link_to image_tag("../images/theme/logo.png"),{}, :class => 'login_logo' %>
      <br/>
      <div id="container">
        <div class="error_box">
          <%- flash.each do |name, msg| -%>
            <%= content_tag :div, msg, :id => "flash_#{name}" %>
          <%- end -%>
        </div>
        
        <%= yield %>
      </div>
    </div>
  </body>
</html>
